Namespace Comm
    ''' <summary>
    ''' Provides data back to event handlers from the communication handler
    ''' </summary>
    ''' <remarks></remarks>
    <ObfuscationAttribute(Exclude:=True, ApplyToMembers:=True)> _
    Friend Class UsbDataEventArguments
        Inherits System.EventArgs

        Private mData As Comm.Comm_Frame
        Private mRaw As Byte()

        Sub New(ByVal data As Comm.Comm_Frame)
            mData = data
        End Sub
        Sub New(ByVal data As Byte())
            mRaw = data
        End Sub

        Public ReadOnly Property Raw() As Byte()
            Get
                Return mRaw
            End Get
        End Property
        Public ReadOnly Property Data() As Comm.Comm_Frame
            Get
                Return mData
            End Get
        End Property
    End Class
End Namespace

